package com.bird.dbtransfer.config;

import java.util.List;

public class TransferRelation {

    // 是否只使用配置好的字段
    private boolean onlyConfig;
    private String source;
    private String target;
    private List<FieldRelation> fields;

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public List<FieldRelation> getFields() {
        return fields;
    }

    public void setFields(List<FieldRelation> fields) {
        this.fields = fields;
    }

    public boolean isOnlyConfig() {
        return onlyConfig;
    }

    public void setOnlyConfig(boolean onlyConfig) {
        this.onlyConfig = onlyConfig;
    }
}
